<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
<script>
    var n=1100;
    var m=10111;
    console.log(parseInt(n,2));
    console.log(parseInt(m,2));

    console.log(parseInt(n,2).toString(8));
    console.log(parseInt(m,2).toString(8));

    console.log(parseInt(n,2).toString(16));
    console.log(parseInt(m,2).toString(16));

    var o=193;
    console.log(o.toString(2));
    var o=49;
    console.log(o.toString(2));
    var o=81;
    console.log(o.toString(2));
    var o=35;
    console.log(o.toString(2));



    var t=100001001;
    console.log(parseInt(t,2));
    var t=11001101;
    console.log(parseInt(t,2));
</script>
</body>
</html>